package com.itunion.ddd.application.item.service.impl;

import com.itunion.ddd.application.item.command.query.TbItemCategoryGetQryExe;
import com.itunion.ddd.application.item.dto.clientobject.TbItemCategoryCO;
import com.itunion.ddd.application.item.service.TbItemCategoryApplicationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 商品分类-应用层
 *
 * @author liangliang.zheng
 * @date 2022年09月23日11:53:45
 */
@Service
public class TbItemCategoryApplicationServiceImpl implements TbItemCategoryApplicationService {
    @Resource
    private TbItemCategoryGetQryExe tbItemCategoryGetQryExe;

    @Override
    public TbItemCategoryCO selectById(Long id) {
        return tbItemCategoryGetQryExe.execute(id);
    }
}
